#http://www.s1s1s1.com/images/works/soe152/soe152jp-02.jpg
#http://www.s1s1s1.com/images/works/one030/one030jp-08.jpg
#http://ideapocket.com/images/works/ipz139/ipz139jp-03.jpg
#http://ideapocket.com/images/works/iptd400/iptd400jp-03.jpg
#http://ideapocket.com/images/works/iptd010/iptd010jp-03.jpg
#http://www.moodyz.com/shop/-/sample_image/=/id=mird123/num=8/?name=%C4%AC%BF%E1%A4%AD%C2%E7%CD%F0%B8%F24%BB%FE%B4%D6SPECIAL
#http://www.moodyz.com/shop/-/sample_image/=/id=mird123/num=2/?name=%C4%AC%BF%E1%A4%AD%C2%E7%CD%F0%B8%F24%BB%FE%B4%D6SPECIAL
#http://www.moodyz.com/shop/-/sample_image/=/id=midd983/num=3/
#http://www.moodyz.com/shop/-/sample_image/=/id=midd981/num=6

mkdir -p /data/images/iptd-new
cd /data/images/iptd-new

dr=/data/images/iptd-new
for i in `seq 27 1000` 
do
    for j in `seq 1 12`
    do
        wid=$(printf "%03d" $i)
        pid=$(printf "%02d" $j)
        image="iptd$wid"jp-$pid.jpg
        wget http://ideapocket.com/images/works/iptd$wid/$image
        echo $?
        [ ! -f $dr/$image ] && break
        sleep 10
    done
done
     

